@import  './fonts/fonts.css';

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}

html,
body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#app {
  width: 100vw;
  height: 100vh;
  position: absolute;
  transform-origin: 50% 50%;
}

.message-wrap {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  justify-content: center;
  font-size: 13px;
  z-index: 20;
  display: none;
}

.message-wrap .body {
  display: flex;
  width: fit-content;
  background-color: #ffffff;
  color: rgba(0, 0, 0, 0.9);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 30px 5px,
    rgba(0, 0, 0, 0.04) 0px 16px 24px 2px, rgba(0, 0, 0, 0.08) 0px 8px 10px -5px,
    rgb(220, 220, 220) 0px 0.5px 0px 0px inset,
    rgb(220, 220, 220) 0.5px 0px 0px 0px inset,
    rgb(220, 220, 220) 0px -0.5px 0px 0px inset,
    rgb(220, 220, 220) -0.5px 0px 0px 0px inset;
  box-sizing: border-box;
  border-radius: 6px;
  padding: 12px 16px;
}

.message-wrap svg {
  color: rgb(213, 73, 65);
  fill: rgb(213, 73, 65);
  margin-right: 8px;
  font-size: 16px;
  margin-top: 2px;
}

.message-wrap svg.success {
  color: #2ba471;
  fill: #2ba471;
}

.message-wrap svg.warn {
  color: #f5aa6d;
  fill: #f5aa6d;
}

.login-wrap {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  z-index: 10;
  display: none;
  text-align: center;
}

.login-wrap .body {
  margin-top: -100px;
  width: fit-content;
  background-color: #ffffff;
  color: rgba(0, 0, 0, 0.9);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 30px 5px,
    rgba(0, 0, 0, 0.04) 0px 16px 24px 2px, rgba(0, 0, 0, 0.08) 0px 8px 10px -5px,
    rgb(220, 220, 220) 0px 0.5px 0px 0px inset,
    rgb(220, 220, 220) 0.5px 0px 0px 0px inset,
    rgb(220, 220, 220) 0px -0.5px 0px 0px inset,
    rgb(220, 220, 220) -0.5px 0px 0px 0px inset;
  box-sizing: border-box;
  border-radius: 6px;
  padding: 20px;
}

.login-wrap .head {
  font-size: 24px;
  line-height: 2;
  margin-bottom: 12px;
}

.login-wrap input {
  line-height: 1;
  margin-bottom: 12px;
  display: block;
  width: 300px;
  padding: 10px 12px;
  background: none;
  outline: none;
  border-radius: 2px;
  border: 1px solid #cccccc;
}

.login-wrap input:hover,
.login-wrap input:focus {
  border-color: #4583ff;
}

.login-wrap button {
  line-height: 1;
  display: block;
  width: 300px;
  padding: 12px;
  background: #0c56eb;
  color: #ffffff;
  outline: none;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
}

.login-wrap button:hover,
.login-wrap button:focus {
  background: #4583ff;
}


.back-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f1f1f1;
  box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0.7;
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
}

.back-button .more {
  width: 24px;
  height: 24px;
}

.lock {
  position: fixed;
  width: 32px;
  height: 32px;
  top: 24px;
  right: 24px;
  z-index: 5;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: none;
}

.lock svg{
  width: 24px;
  height: 24px;
  display: none;
}

.lock .locked {
  display: none;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  background: transparent;
}

::-webkit-scrollbar-corner {
  background-color: transparent;
}

/*滚动条里面小方块*/
::-webkit-scrollbar-thumb {
  background-color: var(--color-scrollbar) !important;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-scrollbar-hover);
}

::-webkit-scrollbar-track {
  background-color: transparent !important;
}

/*
火狐兼容
*/
@-moz-document url-prefix() {
  * {
    scrollbar-width: thin;
  }
  .t-radio-button {
    padding: 6px !important;
  }
}